package com.soulless.lambda.demo;

/**
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2022/06/10/ 11:32
 */
public class Test {

    public static void main(String[] args) {
        LambdaHandler<LambdaHandlerImpl> lambdaHandler = new LambdaHandlerImpl();
        lambdaHandler.test(a -> {
            System.out.println(a.getClass());
            a.setName("张三");
            System.out.println(a.toString());
        });

        System.out.println(lambdaHandler.toString());
    }

}